import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import MyTable from '@/components/MyTable'
import MyTable1 from '@/components/MyTable1'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/mytable',
      name: 'MyTable',
      component: MyTable
    },
    {
      path: '/mytable1',
      name: 'MyTable1',
      component: MyTable1
    }
  ]
})
